package br.com.fatecpg.tp1.formularios;

public class Potencia extends javax.swing.JInternalFrame {

    public Potencia() {
        initComponents();
    }
    @SuppressWarnings("unchecked")
    // <editor-fold defaultstate="collapsed" desc="Generated Code">//GEN-BEGIN:initComponents
    private void initComponents() {

        jTextFieldValor = new javax.swing.JTextField();
        jComboBoxTipo = new javax.swing.JComboBox();
        jLabelEnunciado = new javax.swing.JLabel();
        KilowattjLabel = new javax.swing.JLabel();
        CavaloJLabel = new javax.swing.JLabel();
        UniTermBHRjLabel = new javax.swing.JLabel();
        CaloriasPorHoraJLabel = new javax.swing.JLabel();
        UniTermBSegjLabel = new javax.swing.JLabel();
        CavaloEletricoJLabel = new javax.swing.JLabel();
        ToneladajLabel = new javax.swing.JLabel();
        MiliwattjLabel = new javax.swing.JLabel();
        WattJLabel = new javax.swing.JLabel();
        PlSegjLabel = new javax.swing.JLabel();
        CavaloVaporJLabel = new javax.swing.JLabel();
        JouleJLabel = new javax.swing.JLabel();
        KiloCaloriasJLabel = new javax.swing.JLabel();
        CavaloboilerJLabel = new javax.swing.JLabel();
        PlMinjLabel = new javax.swing.JLabel();
        MegawattjLabel = new javax.swing.JLabel();
        CaloriashrjTextField = new javax.swing.JTextField();
        CavalojTextField = new javax.swing.JTextField();
        CavaloBoilerjTextField = new javax.swing.JTextField();
        CavaloEletricojTextField = new javax.swing.JTextField();
        CavaloVaporjTextField = new javax.swing.JTextField();
        WattjTextField = new javax.swing.JTextField();
        KiloCaloriasjTextField = new javax.swing.JTextField();
        JoulejTextField = new javax.swing.JTextField();
        PlMinjTextField = new javax.swing.JTextField();
        MegawattjTextField = new javax.swing.JTextField();
        UniTermBHRjTextField = new javax.swing.JTextField();
        KilowattjTextField = new javax.swing.JTextField();
        MiliwattjTextField = new javax.swing.JTextField();
        PlSegjTextField = new javax.swing.JTextField();
        ToneladajTextField = new javax.swing.JTextField();
        UniTermBSegjTextField = new javax.swing.JTextField();

        setBackground(new java.awt.Color(63, 98, 104));
        setBorder(javax.swing.BorderFactory.createMatteBorder(1, 1, 1, 1, new java.awt.Color(51, 255, 0)));
        setClosable(true);
        setIconifiable(true);
        setMaximizable(true);
        setResizable(true);
        setTitle("Converter Potência");
        setPreferredSize(new java.awt.Dimension(580, 450));
        getContentPane().setLayout(null);

        jTextFieldValor.setFont(new java.awt.Font("Tahoma", 0, 12)); // NOI18N
        jTextFieldValor.setBorder(javax.swing.BorderFactory.createLineBorder(new java.awt.Color(0, 0, 0)));
        jTextFieldValor.addKeyListener(new java.awt.event.KeyAdapter() {
            public void keyReleased(java.awt.event.KeyEvent evt) {
                jTextFieldValorKeyReleased(evt);
            }
        });
        getContentPane().add(jTextFieldValor);
        jTextFieldValor.setBounds(10, 50, 240, 17);

        jComboBoxTipo.setFont(new java.awt.Font("Tahoma", 1, 11)); // NOI18N
        jComboBoxTipo.setModel(new javax.swing.DefaultComboBoxModel(new String[] { "Calorias por hora", "Cavalo", "Cavalo-boiler", "Cavalo-de-força-elétrico", "Cavalo-vapor", "Joule por segundo", "Kilocalorias por hora", "Kilowatt", "Megawatt", "Miliwatt", "Pés-libra por minuto", "Pés-libra por segundo", "Tonelada de refrigeração", "Unidade térmica britânica por hora", "Unidade térmica britânica por segundo", "Watt", " " }));
        jComboBoxTipo.setBorder(javax.swing.BorderFactory.createLineBorder(new java.awt.Color(0, 0, 0)));
        jComboBoxTipo.addItemListener(new java.awt.event.ItemListener() {
            public void itemStateChanged(java.awt.event.ItemEvent evt) {
                jComboBoxTipoItemStateChanged(evt);
            }
        });
        getContentPane().add(jComboBoxTipo);
        jComboBoxTipo.setBounds(260, 50, 310, 22);

        jLabelEnunciado.setFont(new java.awt.Font("Tahoma", 1, 16));
        jLabelEnunciado.setForeground(new java.awt.Color(255, 255, 255));
        jLabelEnunciado.setText(" Quero converter:                                                                             ");
        jLabelEnunciado.setBorder(javax.swing.BorderFactory.createMatteBorder(1, 1, 1, 1, new java.awt.Color(51, 204, 0)));
        getContentPane().add(jLabelEnunciado);
        jLabelEnunciado.setBounds(10, 11, 560, 25);

        KilowattjLabel.setFont(new java.awt.Font("Arial", 1, 11));
        KilowattjLabel.setForeground(new java.awt.Color(255, 255, 255));
        KilowattjLabel.setText("Kilowatt:");
        getContentPane().add(KilowattjLabel);
        KilowattjLabel.setBounds(20, 230, 47, 14);

        CavaloJLabel.setFont(new java.awt.Font("Arial", 1, 11)); // NOI18N
        CavaloJLabel.setForeground(new java.awt.Color(255, 255, 255));
        CavaloJLabel.setText("Cavalo: ");
        getContentPane().add(CavaloJLabel);
        CavaloJLabel.setBounds(20, 110, 42, 14);

        UniTermBHRjLabel.setFont(new java.awt.Font("Arial", 1, 11));
        UniTermBHRjLabel.setForeground(new java.awt.Color(255, 255, 255));
        UniTermBHRjLabel.setText("Unidade térmica britânica por hora:");
        getContentPane().add(UniTermBHRjLabel);
        UniTermBHRjLabel.setBounds(20, 350, 192, 14);

        CaloriasPorHoraJLabel.setFont(new java.awt.Font("Arial", 1, 11));
        CaloriasPorHoraJLabel.setForeground(new java.awt.Color(255, 255, 255));
        CaloriasPorHoraJLabel.setText("Calorias por hora:");
        getContentPane().add(CaloriasPorHoraJLabel);
        CaloriasPorHoraJLabel.setBounds(20, 90, 98, 14);

        UniTermBSegjLabel.setFont(new java.awt.Font("Arial", 1, 11));
        UniTermBSegjLabel.setForeground(new java.awt.Color(255, 255, 255));
        UniTermBSegjLabel.setText("Unidade términa britânica por segundo:");
        getContentPane().add(UniTermBSegjLabel);
        UniTermBSegjLabel.setBounds(20, 370, 217, 14);

        CavaloEletricoJLabel.setFont(new java.awt.Font("Arial", 1, 11));
        CavaloEletricoJLabel.setForeground(new java.awt.Color(255, 255, 255));
        CavaloEletricoJLabel.setText("Cavalo-de-força-elétrico:");
        getContentPane().add(CavaloEletricoJLabel);
        CavaloEletricoJLabel.setBounds(20, 150, 135, 14);

        ToneladajLabel.setFont(new java.awt.Font("Arial", 1, 11));
        ToneladajLabel.setForeground(new java.awt.Color(255, 255, 255));
        ToneladajLabel.setText("Tonelada de refrigeração:");
        getContentPane().add(ToneladajLabel);
        ToneladajLabel.setBounds(20, 330, 141, 14);

        MiliwattjLabel.setFont(new java.awt.Font("Arial", 1, 11));
        MiliwattjLabel.setForeground(new java.awt.Color(255, 255, 255));
        MiliwattjLabel.setText("Miliwatt:");
        getContentPane().add(MiliwattjLabel);
        MiliwattjLabel.setBounds(20, 270, 46, 14);

        WattJLabel.setFont(new java.awt.Font("Arial", 1, 11));
        WattJLabel.setForeground(new java.awt.Color(255, 255, 255));
        WattJLabel.setText("Watt:");
        getContentPane().add(WattJLabel);
        WattJLabel.setBounds(20, 390, 29, 14);

        PlSegjLabel.setFont(new java.awt.Font("Arial", 1, 11));
        PlSegjLabel.setForeground(new java.awt.Color(255, 255, 255));
        PlSegjLabel.setText("Pés-libra por segundo:");
        getContentPane().add(PlSegjLabel);
        PlSegjLabel.setBounds(20, 310, 126, 14);

        CavaloVaporJLabel.setFont(new java.awt.Font("Arial", 1, 11));
        CavaloVaporJLabel.setForeground(new java.awt.Color(255, 255, 255));
        CavaloVaporJLabel.setText("Cavalo-vapor:");
        getContentPane().add(CavaloVaporJLabel);
        CavaloVaporJLabel.setBounds(20, 170, 74, 14);

        JouleJLabel.setFont(new java.awt.Font("Arial", 1, 11));
        JouleJLabel.setForeground(new java.awt.Color(255, 255, 255));
        JouleJLabel.setText("Joule por segundo:");
        getContentPane().add(JouleJLabel);
        JouleJLabel.setBounds(20, 190, 107, 14);

        KiloCaloriasJLabel.setFont(new java.awt.Font("Arial", 1, 11));
        KiloCaloriasJLabel.setForeground(new java.awt.Color(255, 255, 255));
        KiloCaloriasJLabel.setText("Kilocalorias por hora:");
        getContentPane().add(KiloCaloriasJLabel);
        KiloCaloriasJLabel.setBounds(20, 210, 116, 14);

        CavaloboilerJLabel.setFont(new java.awt.Font("Arial", 1, 11));
        CavaloboilerJLabel.setForeground(new java.awt.Color(255, 255, 255));
        CavaloboilerJLabel.setText("Cavalo-boiler:");
        getContentPane().add(CavaloboilerJLabel);
        CavaloboilerJLabel.setBounds(20, 130, 75, 14);

        PlMinjLabel.setFont(new java.awt.Font("Arial", 1, 11));
        PlMinjLabel.setForeground(new java.awt.Color(255, 255, 255));
        PlMinjLabel.setText("Pés-libra por minuto:");
        getContentPane().add(PlMinjLabel);
        PlMinjLabel.setBounds(20, 290, 116, 14);

        MegawattjLabel.setFont(new java.awt.Font("Arial", 1, 11));
        MegawattjLabel.setForeground(new java.awt.Color(255, 255, 255));
        MegawattjLabel.setText("Megawatt:");
        getContentPane().add(MegawattjLabel);
        MegawattjLabel.setBounds(20, 250, 57, 14);

        CaloriashrjTextField.setEditable(false);
        CaloriashrjTextField.setFont(new java.awt.Font("Tahoma", 0, 9)); // NOI18N
        CaloriashrjTextField.setBorder(javax.swing.BorderFactory.createLineBorder(new java.awt.Color(0, 0, 0)));
        CaloriashrjTextField.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                CaloriashrjTextFieldActionPerformed(evt);
            }
        });
        getContentPane().add(CaloriashrjTextField);
        CaloriashrjTextField.setBounds(260, 90, 310, 13);

        CavalojTextField.setEditable(false);
        CavalojTextField.setFont(new java.awt.Font("Tahoma", 0, 9)); // NOI18N
        CavalojTextField.setBorder(javax.swing.BorderFactory.createLineBorder(new java.awt.Color(0, 0, 0)));
        getContentPane().add(CavalojTextField);
        CavalojTextField.setBounds(260, 110, 310, 13);

        CavaloBoilerjTextField.setEditable(false);
        CavaloBoilerjTextField.setFont(new java.awt.Font("Tahoma", 0, 9)); // NOI18N
        CavaloBoilerjTextField.setBorder(javax.swing.BorderFactory.createLineBorder(new java.awt.Color(0, 0, 0)));
        getContentPane().add(CavaloBoilerjTextField);
        CavaloBoilerjTextField.setBounds(260, 130, 310, 13);

        CavaloEletricojTextField.setEditable(false);
        CavaloEletricojTextField.setFont(new java.awt.Font("Tahoma", 0, 9)); // NOI18N
        CavaloEletricojTextField.setBorder(javax.swing.BorderFactory.createLineBorder(new java.awt.Color(0, 0, 0)));
        getContentPane().add(CavaloEletricojTextField);
        CavaloEletricojTextField.setBounds(260, 150, 310, 13);

        CavaloVaporjTextField.setEditable(false);
        CavaloVaporjTextField.setFont(new java.awt.Font("Tahoma", 0, 9)); // NOI18N
        CavaloVaporjTextField.setBorder(javax.swing.BorderFactory.createLineBorder(new java.awt.Color(0, 0, 0)));
        getContentPane().add(CavaloVaporjTextField);
        CavaloVaporjTextField.setBounds(260, 170, 310, 13);

        WattjTextField.setEditable(false);
        WattjTextField.setFont(new java.awt.Font("Tahoma", 0, 9));
        WattjTextField.setBorder(javax.swing.BorderFactory.createLineBorder(new java.awt.Color(0, 0, 0)));
        getContentPane().add(WattjTextField);
        WattjTextField.setBounds(260, 390, 310, 13);

        KiloCaloriasjTextField.setEditable(false);
        KiloCaloriasjTextField.setFont(new java.awt.Font("Tahoma", 0, 9)); // NOI18N
        KiloCaloriasjTextField.setBorder(javax.swing.BorderFactory.createLineBorder(new java.awt.Color(0, 0, 0)));
        getContentPane().add(KiloCaloriasjTextField);
        KiloCaloriasjTextField.setBounds(260, 210, 310, 13);

        JoulejTextField.setEditable(false);
        JoulejTextField.setFont(new java.awt.Font("Tahoma", 0, 9)); // NOI18N
        JoulejTextField.setBorder(javax.swing.BorderFactory.createLineBorder(new java.awt.Color(0, 0, 0)));
        getContentPane().add(JoulejTextField);
        JoulejTextField.setBounds(260, 190, 310, 13);

        PlMinjTextField.setEditable(false);
        PlMinjTextField.setFont(new java.awt.Font("Tahoma", 0, 9));
        PlMinjTextField.setBorder(javax.swing.BorderFactory.createLineBorder(new java.awt.Color(0, 0, 0)));
        getContentPane().add(PlMinjTextField);
        PlMinjTextField.setBounds(260, 290, 310, 13);

        MegawattjTextField.setEditable(false);
        MegawattjTextField.setFont(new java.awt.Font("Tahoma", 0, 9));
        MegawattjTextField.setBorder(javax.swing.BorderFactory.createLineBorder(new java.awt.Color(0, 0, 0)));
        getContentPane().add(MegawattjTextField);
        MegawattjTextField.setBounds(260, 250, 310, 13);

        UniTermBHRjTextField.setEditable(false);
        UniTermBHRjTextField.setFont(new java.awt.Font("Tahoma", 0, 9));
        UniTermBHRjTextField.setBorder(javax.swing.BorderFactory.createLineBorder(new java.awt.Color(0, 0, 0)));
        getContentPane().add(UniTermBHRjTextField);
        UniTermBHRjTextField.setBounds(260, 350, 310, 13);

        KilowattjTextField.setEditable(false);
        KilowattjTextField.setFont(new java.awt.Font("Tahoma", 0, 9)); // NOI18N
        KilowattjTextField.setBorder(javax.swing.BorderFactory.createLineBorder(new java.awt.Color(0, 0, 0)));
        getContentPane().add(KilowattjTextField);
        KilowattjTextField.setBounds(260, 230, 310, 13);

        MiliwattjTextField.setEditable(false);
        MiliwattjTextField.setFont(new java.awt.Font("Tahoma", 0, 9));
        MiliwattjTextField.setBorder(javax.swing.BorderFactory.createLineBorder(new java.awt.Color(0, 0, 0)));
        getContentPane().add(MiliwattjTextField);
        MiliwattjTextField.setBounds(260, 270, 310, 13);

        PlSegjTextField.setEditable(false);
        PlSegjTextField.setFont(new java.awt.Font("Tahoma", 0, 9));
        PlSegjTextField.setBorder(javax.swing.BorderFactory.createLineBorder(new java.awt.Color(0, 0, 0)));
        getContentPane().add(PlSegjTextField);
        PlSegjTextField.setBounds(260, 310, 310, 13);

        ToneladajTextField.setEditable(false);
        ToneladajTextField.setFont(new java.awt.Font("Tahoma", 0, 9));
        ToneladajTextField.setBorder(javax.swing.BorderFactory.createLineBorder(new java.awt.Color(0, 0, 0)));
        getContentPane().add(ToneladajTextField);
        ToneladajTextField.setBounds(260, 330, 310, 13);

        UniTermBSegjTextField.setEditable(false);
        UniTermBSegjTextField.setFont(new java.awt.Font("Tahoma", 0, 9));
        UniTermBSegjTextField.setBorder(javax.swing.BorderFactory.createLineBorder(new java.awt.Color(0, 0, 0)));
        getContentPane().add(UniTermBSegjTextField);
        UniTermBSegjTextField.setBounds(260, 370, 310, 13);

        pack();
    }// </editor-fold>//GEN-END:initComponents

    private void jTextFieldValorKeyReleased(java.awt.event.KeyEvent evt) {//GEN-FIRST:event_jTextFieldValorKeyReleased
        try {
            Float cavaloboiler = (float) 0;
            if (jComboBoxTipo.getSelectedItem().equals("Calorias por hora")) {
                cavaloboiler = Float.parseFloat(jTextFieldValor.getText()) / (float) 8434651.8818;
            } else if (jComboBoxTipo.getSelectedItem().equals("Cavalo")) {
                cavaloboiler = Float.parseFloat(jTextFieldValor.getText()) / (float) 13.337208255;
            } else if (jComboBoxTipo.getSelectedItem().equals("Cavalo-boiler")) {
                cavaloboiler = Float.parseFloat(jTextFieldValor.getText());
            } else if (jComboBoxTipo.getSelectedItem().equals("Cavalo-de-força-elétrico")) {
                cavaloboiler = Float.parseFloat(jTextFieldValor.getText()) / (float) 13.149463807;
            } else if (jComboBoxTipo.getSelectedItem().equals("Cavalo-vapor")) {
                cavaloboiler = Float.parseFloat(jTextFieldValor.getText()) / (float) 13.154756188;
            } else if (jComboBoxTipo.getSelectedItem().equals("Joule por segundo")) {
                cavaloboiler = Float.parseFloat(jTextFieldValor.getText()) / (float) 9809.5;
            } else if (jComboBoxTipo.getSelectedItem().equals("Kilocalorias por hora")) {
                cavaloboiler = Float.parseFloat(jTextFieldValor.getText()) / (float) 8434.6518818;
            }else if (jComboBoxTipo.getSelectedItem().equals("Kilowatt")) {
                cavaloboiler = Float.parseFloat(jTextFieldValor.getText()) / (float) 9.8095;
            } else if (jComboBoxTipo.getSelectedItem().equals("Megawatt")) {
                cavaloboiler = Float.parseFloat(jTextFieldValor.getText()) / (float) 0.0098095;
            } else if (jComboBoxTipo.getSelectedItem().equals("Miliwatt")) {
                cavaloboiler = Float.parseFloat(jTextFieldValor.getText()) / (float) 9809500;
            } else if (jComboBoxTipo.getSelectedItem().equals("Pés-libra por minuto")) {
                cavaloboiler = Float.parseFloat(jTextFieldValor.getText()) / (float) 434106.9542;
            } else if (jComboBoxTipo.getSelectedItem().equals("Pés-libra por segundo")) {
                cavaloboiler = Float.parseFloat(jTextFieldValor.getText()) / (float) 7235.1159033;
            } else if (jComboBoxTipo.getSelectedItem().equals("Tonelada de refrigeração")) {
                cavaloboiler = Float.parseFloat(jTextFieldValor.getText()) / (float) 2.7892834873;
            } else if (jComboBoxTipo.getSelectedItem().equals("Unidade térmica britânica por hora")) {
                cavaloboiler = Float.parseFloat(jTextFieldValor.getText()) / (float) 33471.403319;
            } else if (jComboBoxTipo.getSelectedItem().equals("Unidade térmica britânica por segundo")) {
                cavaloboiler = Float.parseFloat(jTextFieldValor.getText()) / (float) 9.2976120332;
            } else if (jComboBoxTipo.getSelectedItem().equals("Watt")) {
                cavaloboiler = Float.parseFloat(jTextFieldValor.getText()) / (float) 9809.5;
            }
            Float novocavaloboiler = (float) 0;

            novocavaloboiler = cavaloboiler * (float) 8434651.8818;
            CaloriashrjTextField.setText(novocavaloboiler.toString());

            novocavaloboiler = cavaloboiler * (float) 13.337208255;
            CavalojTextField.setText(novocavaloboiler.toString());

            CavaloBoilerjTextField.setText(cavaloboiler.toString());

            novocavaloboiler = cavaloboiler * (float) 13.149463807;
            CavaloEletricojTextField.setText(novocavaloboiler.toString());

            novocavaloboiler = cavaloboiler * (float) 13.154756188;
            CavaloVaporjTextField.setText(novocavaloboiler.toString());

            novocavaloboiler = cavaloboiler * (float) 9809.5;
            JoulejTextField.setText(novocavaloboiler.toString());

            novocavaloboiler = cavaloboiler * (float) 8434.6518818;
            KiloCaloriasjTextField.setText(novocavaloboiler.toString());

            novocavaloboiler = cavaloboiler * (float) 9.8095;
            KilowattjTextField.setText(novocavaloboiler.toString());

            novocavaloboiler = cavaloboiler * (float) 0.0098095;
            MegawattjTextField.setText(novocavaloboiler.toString());

            novocavaloboiler = cavaloboiler * (float) 9809500;
            MiliwattjTextField.setText(novocavaloboiler.toString());

            novocavaloboiler = cavaloboiler * (float) 434106.9542;
            PlMinjTextField.setText(novocavaloboiler.toString());

            novocavaloboiler = cavaloboiler * (float) 7235.1159033;
            PlSegjTextField.setText(novocavaloboiler.toString());

            novocavaloboiler = cavaloboiler * (float) 2.7892834873;
            ToneladajTextField.setText(novocavaloboiler.toString());

            novocavaloboiler = cavaloboiler * (float) 33471.403319;
            UniTermBHRjTextField.setText(novocavaloboiler.toString());

            novocavaloboiler = cavaloboiler * (float) 9.2976120332;
            UniTermBSegjTextField.setText(novocavaloboiler.toString());

            novocavaloboiler = cavaloboiler * (float) 9809.5;
            WattjTextField.setText(novocavaloboiler.toString());

        } catch (Exception ex) {
            jTextFieldValor.setText("");
            CaloriashrjTextField.setText("");
            CavalojTextField.setText("");
            CavaloEletricojTextField.setText("");
            CavaloVaporjTextField.setText("");
            CavaloBoilerjTextField.setText("");
            JoulejTextField.setText("");
            KiloCaloriasjTextField.setText("");
            KilowattjTextField.setText("");
            MiliwattjTextField.setText("");
            MegawattjTextField.setText("");
            PlMinjTextField.setText("");
            PlSegjTextField.setText("");
            ToneladajTextField.setText("");
            UniTermBHRjTextField.setText("");
            UniTermBSegjTextField.setText("");
            WattjTextField.setText("");
        }
    }//GEN-LAST:event_jTextFieldValorKeyReleased

    private void jComboBoxTipoItemStateChanged(java.awt.event.ItemEvent evt) {//GEN-FIRST:event_jComboBoxTipoItemStateChanged
        jTextFieldValorKeyReleased(null);
}//GEN-LAST:event_jComboBoxTipoItemStateChanged

    private void CaloriashrjTextFieldActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_CaloriashrjTextFieldActionPerformed
        // TODO add your handling code here:
    }//GEN-LAST:event_CaloriashrjTextFieldActionPerformed

    public static void main (String[]args){
        
    }

    // Variables declaration - do not modify//GEN-BEGIN:variables
    private javax.swing.JLabel CaloriasPorHoraJLabel;
    private javax.swing.JTextField CaloriashrjTextField;
    private javax.swing.JTextField CavaloBoilerjTextField;
    private javax.swing.JLabel CavaloEletricoJLabel;
    private javax.swing.JTextField CavaloEletricojTextField;
    private javax.swing.JLabel CavaloJLabel;
    private javax.swing.JLabel CavaloVaporJLabel;
    private javax.swing.JTextField CavaloVaporjTextField;
    private javax.swing.JLabel CavaloboilerJLabel;
    private javax.swing.JTextField CavalojTextField;
    private javax.swing.JLabel JouleJLabel;
    private javax.swing.JTextField JoulejTextField;
    private javax.swing.JLabel KiloCaloriasJLabel;
    private javax.swing.JTextField KiloCaloriasjTextField;
    private javax.swing.JLabel KilowattjLabel;
    private javax.swing.JTextField KilowattjTextField;
    private javax.swing.JLabel MegawattjLabel;
    private javax.swing.JTextField MegawattjTextField;
    private javax.swing.JLabel MiliwattjLabel;
    private javax.swing.JTextField MiliwattjTextField;
    private javax.swing.JLabel PlMinjLabel;
    private javax.swing.JTextField PlMinjTextField;
    private javax.swing.JLabel PlSegjLabel;
    private javax.swing.JTextField PlSegjTextField;
    private javax.swing.JLabel ToneladajLabel;
    private javax.swing.JTextField ToneladajTextField;
    private javax.swing.JLabel UniTermBHRjLabel;
    private javax.swing.JTextField UniTermBHRjTextField;
    private javax.swing.JLabel UniTermBSegjLabel;
    private javax.swing.JTextField UniTermBSegjTextField;
    private javax.swing.JLabel WattJLabel;
    private javax.swing.JTextField WattjTextField;
    private javax.swing.JComboBox jComboBoxTipo;
    private javax.swing.JLabel jLabelEnunciado;
    private javax.swing.JTextField jTextFieldValor;
    // End of variables declaration//GEN-END:variables

}
